/*Reads again from the stdin but in while a little bit different*/

#include <iostream>
#include <string>
#include <iomanip>
#include <ios>


using namespace std;

int main(){

    string name ;

    cout << "Gir lan adını :" << endl;

    cin >> name;

    //Try here new stuff
    cout << "Gir ödev notlarını bakam Enter'a basa basa gel!"
         << "Bitirmek icin EOF gir";


    int count = 0;
    double sum = 0;

    double x ; //Bunu icine okicaz bbg1 e donduk ya 

    while(cin >> x){
        count ++;
        sum += x;
    }

    streamsize prec = cout.precision();

    cout << "Ortalamasi susu :" << setprecision(3)
         << sum/count
         << setprecision(prec) << endl;

    return 0;

}


